package com.jianyushe.gof23.learncode.creationalpattern.factory.abstractfactory;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Create by Alvin
 * @Description TODO
 * @date 2021-10-11 16:02
 */
public interface Seat {
    void message();
}

class LuxurySeat implements Seat{
private static final Logger LOGGER = LoggerFactory.getLogger(LuxurySeat.class);

    @Override
    public void message() {
        LOGGER.info("坐得舒服");
    }
}

class LowSeat implements Seat{
private static final Logger LOGGER = LoggerFactory.getLogger(LowSeat.class);

    @Override
    public void message() {
        LOGGER.info("坐得不舒服");
    }
}